package com.dianping.cat.home.dal.report;

import org.unidal.dal.jdbc.AbstractDao;
import org.unidal.dal.jdbc.DalException;
import org.unidal.dal.jdbc.Readset;
import org.unidal.dal.jdbc.Updateset;

public class ConfigModificationDao
  extends AbstractDao {
/* 10 */   public ConfigModification createLocal() { return new ConfigModification(); }





/* 16 */   public int deleteByPK(ConfigModification proto) throws DalException { return getQueryEngine().deleteSingle(ConfigModificationEntity.DELETE_BY_PK, proto); }




  public ConfigModification findByPK(int keyId, Readset<ConfigModification> readset) throws DalException {
/* 22 */     ConfigModification proto = new ConfigModification();

/* 24 */     proto.setKeyId(keyId);

/* 26 */     return (ConfigModification)getQueryEngine().querySingle(ConfigModificationEntity.FIND_BY_PK, proto, readset);
  }








/* 36 */   protected Class<?>[] getEntityClasses() { return new Class[] { ConfigModificationEntity.class }; }



/* 40 */   public int insert(ConfigModification proto) throws DalException { return getQueryEngine().insertSingle(ConfigModificationEntity.INSERT, proto); }





/* 46 */   public int updateByPK(ConfigModification proto, Updateset<ConfigModification> updateset) throws DalException { return getQueryEngine().updateSingle(ConfigModificationEntity.UPDATE_BY_PK, proto, updateset); }
}


/* Location:              /Users/hanfei/Documents/apache-tomcat-9.0.24/webapps/cat/WEB-INF/classes/!/com/dianping/cat/home/dal/report/ConfigModificationDao.class
 * Java compiler version: 7 (51.0)
 * JD-Core Version:       1.0.7
 */